package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title :QuotaExpected.java
 * @description :指标预期
 * @author :liqingyang
 * @date :2015年4月2日
 * @version :1.0
 * @copyright :DHCC 2013-2014
 */
@Entity
@Table(name = "T_QUOTAEXPECTED", schema = "DRGs")
public class QuotaExpected extends KoalaLegacyEntity {

	private static final long serialVersionUID = -2700241427681303048L;

	// 预期代码
	@Id
	@Column(name = "ID", nullable = false)
	private String expectedId;
	
	// 类型,I:ideal理想,E:expect预期,ES:estimated估计,T:target目标
	@Column(name = "EXPECTED_CODE")
	private String expectedCode;

	@Column(name = "EXPECTED_YEAR")
	private String expectedYear ;
	
	@Column(name = "OBJ_TYPE")
	private String objType ;
	
	@Column(name = "RESUME")
	private String reume ;
	
	@Column(name = "PARQUOTA_CODE")
	private String parQuotaCode ;

	@Column(name = "EXPECTED_VALUE")
	private Double expectedValue ;
	
	@Column(name = "VERSION")
	private String  version ;
	
	@Column(name = "MR_DATE_FROM")
	private Date  mrDateFrom ;
	
	@Column(name = "MR_DATE_TO")
	private Date  mrDateTo ;
	
	@Column(name = "ROLE_NAME")
	private String  roleName ;
	
	
	public QuotaExpected() {
		super();
	}


	public QuotaExpected(String expectedId, String expectedCode, String expectedYear, String objType, String reume,
			String parQuotaCode, Double expectedValue, String version, Date mrDateFrom, Date mrDateTo,
			String roleName) {
		super();
		this.expectedId = expectedId;
		this.expectedCode = expectedCode;
		this.expectedYear = expectedYear;
		this.objType = objType;
		this.reume = reume;
		this.parQuotaCode = parQuotaCode;
		this.expectedValue = expectedValue;
		this.version = version;
		this.mrDateFrom = mrDateFrom;
		this.mrDateTo = mrDateTo;
		this.roleName = roleName;
	}


	public String getRoleName() {
		return roleName;
	}


	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}


	public Date getMrDateFrom() {
		return mrDateFrom;
	}


	public void setMrDateFrom(Date mrDateFrom) {
		this.mrDateFrom = mrDateFrom;
	}


	public Date getMrDateTo() {
		return mrDateTo;
	}


	public void setMrDateTo(Date mrDateTo) {
		this.mrDateTo = mrDateTo;
	}


	public String getVersion() {
		return version;
	}


	public void setVersion(String version) {
		this.version = version;
	}


	public Double getExpectedValue() {
		return expectedValue;
	}


	public void setExpectedValue(Double expectedValue) {
		this.expectedValue = expectedValue;
	}

	public String getExpectedCode() {
		return expectedCode;
	}

	public void setExpectedCode(String expectedCode) {
		this.expectedCode = expectedCode;
	}

	public String getExpectedYear() {
		return expectedYear;
	}

	public void setExpectedYear(String expectedYear) {
		this.expectedYear = expectedYear;
	}

	public String getObjType() {
		return objType;
	}

	public void setObjType(String objType) {
		this.objType = objType;
	}

	public String getReume() {
		return reume;
	}

	public void setReume(String reume) {
		this.reume = reume;
	}

	public String getParQuotaCode() {
		return parQuotaCode;
	}

	public void setParQuotaCode(String parQuotaCode) {
		this.parQuotaCode = parQuotaCode;
	}



	public String getExpectedId() {
		return expectedId;
	}


	public void setExpectedId(String expectedId) {
		this.expectedId = expectedId;
	}


	/*
	 * (non-Javadoc)
	 * 
	 * @see org.dayatang.domain.Entity#getId()
	 */
	@Override
	public Serializable getId() {
		return expectedId;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.openkoala.koala.commons.domain.KoalaBaseEntity#businessKeys()
	 */
	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}

}
